package vipcard.meichehui.domain;


import java.time.LocalDateTime;


public class Card {
    

    private Long id;


    private String remarks;


    private String name;


    private Long uid;


    private LocalDateTime createdAt;


    private LocalDateTime updatedAt;


    private Long orderId;


    private Integer status; // 1: 待使用, 2: 已使用, 3: 已失效


    private String status_date;


    private Integer lineUp;


    private LocalDateTime lineDate;

    // Getters and Setters

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Long getUid() {
        return uid;
    }

    public void setUid(Long uid) {
        this.uid = uid;
    }

    public LocalDateTime getCreatedAt() {
        return createdAt;
    }

    public void setCreatedAt(LocalDateTime createdAt) {
        this.createdAt = createdAt;
    }

    public LocalDateTime getUpdatedAt() {
        return updatedAt;
    }

    public void setUpdatedAt(LocalDateTime updatedAt) {
        this.updatedAt = updatedAt;
    }

    public Long getOrderId() {
        return orderId;
    }

    public void setOrderId(Long orderId) {
        this.orderId = orderId;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getStatusDate() {
        return status_date;
    }

    public void status_date(String status_date) {
        this.status_date = status_date;
    }

    public Integer getLineUp() {
        return lineUp;
    }

    public void setLineUp(Integer lineUp) {
        this.lineUp = lineUp;
    }

    public LocalDateTime getLineDate() {
        return lineDate;
    }

    public void setLineDate(LocalDateTime lineDate) {
        this.lineDate = lineDate;
    }


    @Override
    public String toString() {
        return "Card{" +
                "id=" + id +
                ", remarks='" + remarks + '\'' +
                ", name='" + name + '\'' +
                ", uid=" + uid +
                ", createdAt=" + createdAt +
                ", updatedAt=" + updatedAt +
                ", orderId=" + orderId +
                ", status=" + status +
                ", statusDate=" + status_date +
                ", lineUp=" + lineUp +
                ", lineDate=" + lineDate +
                '}';
    }
}
